Operators
Operators are used in the source expression. Operators control what calculation is performed using the other components in the source expression.
Operator |
Function |
= |
Assignment operator or logical test for equality. |
+ |
Addition. |
+ = |
Value on the right is added to then assigned to the target variable on the left. |
- |
Subtraction. Unary minus (negative) |
- = |
Value on the right is subtracted from then assigned to the target variable on the left. |
* |
Multiplication |
* = |
Value on the right is multiplied with then assigned to the target variable on the left. |
/ |
Division |
/ = |
Value on the right is divided into then assigned to the target variable on the left. |
& |
String concatenation. |
& = |
Value on the right is concatenated to then assigned to the target variable on the left. |
> |
Logical greater than. |
< |
Logical less than. |
! |
Logical not. Returns the opposite of the tested value. (For example: !(10=9) = true) |
!= |
Logical not equal. Tests if the value at the left is not equal to the value at the right. |
>= |
Logical greater than or equal. |
<= |
Logical less than or equal. |
!> |
Logical not greater than. |
<! |
Logical not less than. |
!>= |
Logical not greater than or equal. |
!<= |
Logical not less than or equal. |
AND |
Connects two values. Both values must evaluate true to produce a true result. |
OR |
Connects two values. Either value can evaluate true to produce a true result. |